#!/usr/bin/python

# wsgi.py

import wsgiref.simple_server

from doctest_tools import setpath
setpath.setpath(__file__, remove_first = True)

from naimath.web import web

#web.init(__file__, 2)

httpd = wsgiref.simple_server.make_server('', 8000, web.wsgi_app)

print "Serving HTTP on port 8000..."

httpd.serve_forever()

